Package-level declarations
Types
Asset associated with a conversation. An asset may be persistent or ephemeral.
Extended by anything that can track assets
Message sent by the assistant - currently text-only
An assistant message that includes tool calls. When an LLM requests tool calls, it may or may not include text content. This class handles both cases - empty content is valid for tool-call-only responses.
Simplest possible conversation session implementation Responsible for keeping its conversation up to date via Conversation.addMessage(), and for sending messages to the OutputChannel.
Represents a part of a multimodal message. This sealed interface ensures type safety and extensibility for future media types.
Conversation shim for agent system. Mutable.
Format a conversation into a String for inclusion in a prompt. Note that we often prefer to use messages.
A part of a message containing image data.
Message class for agent system - now supports multimodal content
System message - text-only
A part of a message containing text content.
Message sent by the user - supports multimodal content
Builder for creating multimodal UserMessages fluently
Conversation formatter that shows the last windowSize messages, optionally skipping the first startIndex messages.